package com.xiaoyu.lanling.feature.chat.data.relationship

import com.xiaoyu.base.net.RequestCreator
import com.xiaoyu.lanling.common.config.HttpConfig
import com.xiaoyu.lanling.event.chat.relationship.RelationshipEvent

class RelationshipData {

    companion object {
        fun getRelationship(requestTag: Any, toUid: String) {
            RequestCreator.create<RelationshipEvent>(requestTag, RelationshipEvent::class.java)
                    .setRequestUrl(HttpConfig.LANLING_GET_RELATIONSHIP)
                    .addQueryData("toUid", toUid)
                    .enqueue()
        }
    }
}